package cn.kgc.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 故障选项
 * </p>
 *
 * @author psq
 * @since 2021-08-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="MalfunctionOptions对象", description="故障选项")
public class MalfunctionOptions implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "商品型号id")
    @TableField("modelId")
    private Long modelId;

    @ApiModelProperty(value = "故障id")
    @TableField("malfId")
    private Long malfId;

    @ApiModelProperty(value = "名称")
    @TableField("optionName")
    private String optionName;

    @ApiModelProperty(value = "是否有提示0:否,1:是)")
    @TableField("isHint")
    private Integer isHint;

    @ApiModelProperty(value = "提示信息")
    @TableField("hintInfo")
    private String hintInfo;

    @ApiModelProperty(value = "提示图片")
    @TableField("hintImg")
    private String hintImg;

    @ApiModelProperty(value = "处理方式（1:维修,2:更换配件）")
    @TableField("processType")
    private Integer processType;

    @ApiModelProperty(value = "本项问题价格占比（最大100）")
    private Integer ratio;

    @ApiModelProperty(value = "创建人")
    @TableField("createdUserId")
    private Long createdUserId;

    @ApiModelProperty(value = "修改人")
    @TableField("updatedUserId")
    private Long updatedUserId;

    @ApiModelProperty(value = "创建时间")
      @TableField(value = "creatdTime", fill = FieldFill.INSERT)
    private Date creatdTime;

    @ApiModelProperty(value = "修改时间")
      @TableField(value = "updatedTime", fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    @TableField("isDelete")
    private Integer isDelete;


}
